package cn.edu.henu.team.pageplug;

import com.geek.banner.loader.BannerEntry;

public class BannerItem implements BannerEntry {

   private Object path;
   private String indicatorText;

   public BannerItem() {
   }

   public BannerItem(Object path, String indicatorText) {
      this.path = path;
      this.indicatorText = indicatorText;
   }

   @Override
   public Object getBannerPath() {
      //此处返回图片加载的源，可以是 URL RES FILE...
      return path;
   }

   @Override
   public String getIndicatorText() {
      //此处返回Banner摘要,非必须
      return indicatorText;
   }

   public Object getPath() {
      return path;
   }

   public void setPath(Object path) {
      this.path = path;
   }

   public void setIndicatorText(String indicatorText) {
      this.indicatorText = indicatorText;
   }
}
